package com.wn.ov;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;


//biao
@Data
@AllArgsConstructor
@NoArgsConstructor
public class FormOv {
    private  Integer id;
    private  Integer patientId;
    private  String patientName;
    private  String gender;
    private  String age;
    private  String telephone;
    private  String description;
    @NotNull(message = "预约医生不能为空")
    private  Integer doctorUserId;
    private  String doctorName;
    @NotNull(message = "预约科室不能为空")
    private  Integer departmentId;
    private  String departmentName;
    @NotBlank(message = "预约日期不能为空")
    private  String date;
    private  Integer status;
    @NotBlank(message = "预约时间不能为空")
    private  String time;
}
